#include<iostream>
#include<algorithm>
using namespace std;
int a[11];
int b[11];
int main(){
	for(int i=0;i<10;i++){
		cin>>a[i];
		b[i]=a[i];
	}
	sort(a,a+10);
	for(int i=0;i<10;i++){
		if(b[i]==a[0]){
			//The minimum number is 1.
			//It's subscript is 4.
			cout<<"The minimum number is "<<a[0]<<"."<<endl;
			cout<<"It's subscript is "<<i<<".";
			break;
		}
	}
}